package com.mdb.open.trade.domain.dto.content;

import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuyi
 * @date 2019/07/17
 **/
@Data
@ApiModel(value="UploadDto", description="文件上传Dto对象")
public class CommonUploadDto extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    private String app;

    private String userId;

    /**
     * signature
     */
    @ApiModelProperty(value = "上传文件signature")
    private String signature;

    /**
     * 业务KEY
     */
    @ApiModelProperty(value = "业务KEY")
    private String bizKey;

    /**
     * 文件类型
     */
    @ApiModelProperty(value = "文件类型")
    @NotBlank(message = "文件类型不允许为空")
    private String fileType;
}
